package com.itheima.dao;


import com.itheima.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 预约设置
 */
public interface OrderSettingDao {
    void add(OrderSetting orderSetting);
    void editNumberByOrderDate(OrderSetting orderSetting);
    long findCountByOrderDate(Date orderDate);
    List<OrderSetting> getOrderSettingByMonth(Map<String, String> map);
    OrderSetting findByOrderDate(Date orderDate);

    void editreservationsByOrderDate(OrderSetting orderSetting);
}
